<div id="content" class="rel">
    <div id="left-nav">
        <h1>网众商盟</h1>
        <ul>
            <li <?php if(empty($cid)){ ?> class="cur"<?php } ?>>
                <a href="<?php echo u('index/index'); ?>">
                    <span>&nbsp;</span> 全部
                </a>
            </li>
            <?php foreach($catelist as $v){ ?>
            <li <?php if($cid == $v['cid']){ ?> class="cur"<?php } ?>>
            <a href="<?php echo u('index/index',array('cid'=>$v['cid'])); ?>">
                <span>&nbsp;</span> <?php echo $v['cname'] ?>
            </a>
            </li>
            <?php } ?>
        </ul>
    </div>